%本模板参考   https://blog.csdn.net/weixin_43342986/article/details/107684655
%感谢博客博主做出的贡献
%e-mail   lyxichigoichie@163.com

\ProvidesPackage{sysulabreportcover}

\RequirePackage{ctex}
\RequirePackage{geometry}
\RequirePackage{graphicx}
\RequirePackage{makebox}
\RequirePackage{makebox}

\geometry{a4paper,scale=0.8}
\thispagestyle{empty}

\makeatletter
	\newcommand\dlmu[2][4cm]{\hskip1pt\underline{\hb@xt@ #1{\hss#2\hss}}\hskip3pt}
\makeatother

%-------------------------------------变量定义-----------------------------------------------
\newtoks\classname     %课程名称
\newtoks\program       %实验项目名称
\newtoks\name          %学生姓名
\newtoks\stunumber     %学号
\newtoks\major         %专业及年级

\newcommand{\makecover}[0]
{
%-------------------------------------校徽及标题---------------------------------------------------
	\begin{center}
		\includegraphics[width=0.35\linewidth]{./figures/校徽.pdf}

		\vspace*{1cm}
		\kaishu \fontsize{50}{50} \selectfont  {\textbf{实\space 验\space 报\space 告}}  \\ 
	\end{center}
	\vspace{2cm}

%----------------------------------------------表格------------------------------------------------------
\begin{center}
	\zihao{3}
	\renewcommand{\arraystretch}{1.2}
	\begin{tabular}{rl}
		\makebox[4em][s]{课程名称}    \hspace{0.2cm}	\dlmu[6cm]{{\Large \the \classname}} \\
		\makebox[4em][s]{实验项目}    \hspace{0.2cm}	\dlmu[6cm]{{\Large \the \program}} \\
		\makebox[4em][s]{学生姓名}    \hspace{0.2cm}	\dlmu[6cm]{{\Large \the \name}} \\
		\makebox[4em][s]{学生学号}    \hspace{0.2cm}	\dlmu[6cm]{{\Large \the \stunumber}} \\
		\makebox[4em][s]{专业/班级}    \hspace{0.2cm}	\dlmu[6cm]{{\Large \the \major}} \\
		\makebox[4em][s]{实验成绩}    \hspace{0.2cm}	\dlmu[6cm]{} \\
	\end{tabular}
\end{center}

%-----------------------------------------------时间----------------------------------------------------
\vspace*{2.5cm}
\begin{center}
	\zihao{3} \today
\end{center}

%---------------------------------------设置封面页不计数，从封面下一页开始计数-------------------------------
\newpage
\setcounter{page}{1}

}
